// Kony

#pragma once

#include "CoreMinimal.h"
#include "AbilitySystem/Abilitys/BaseGameplayAbility.h"
#include "BasePassiveAbility.generated.h"

/**
 * 被动能力类
 */
UCLASS()
class GASC_HUANLING_API UBasePassiveAbility : public UBaseGameplayAbility
{
	GENERATED_BODY()
public:
	//激活能力时函数
	virtual void ActivateAbility(const FGameplayAbilitySpecHandle Handle, const FGameplayAbilityActorInfo* ActorInfo, const FGameplayAbilityActivationInfo ActivationInfo, const FGameplayEventData* TriggerEventData) override;

	//接收取消被动技能 广播回调函数
	void ReceiveDeactivate(const FGameplayTag& AbilityTag);
};
